package com.my.selectcoursesystem.dao;

import com.my.selectcoursesystem.bean.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TeacherDao extends JpaRepository<Teacher, String> {
    Teacher findByTid(String t_id);
    Teacher findByTcodeAndTpassword(String t_code, String t_password);
}
